<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
    <link rel="stylesheet" href="http://localhost:8000/admin/statics/css/tabler.min.css">
    <link rel="stylesheet" href="http://localhost:8000/admin/statics/css/fontawesome.min.css">
    <link rel="stylesheet" href="http://localhost:8000/admin/statics/css/select2.min.css">
    <link rel="stylesheet" href="http://localhost:8000/admin/statics/css/flatpickr.min.css">
    <link rel="stylesheet" href="http://localhost:8000/admin/statics/css/main.css">
    
    
    <title>3D定制商品生产平台 - 后台管理系统</title>
  </head>
  <body>
    
<div class="wrapper">
  <aside class="navbar navbar-expand-lg navbar-vertical navbar-expand-md navbar-dark">
    <div class="container-fluid">
      <h1 class="navbar-brand navbar-brand-autodark">
        <a href="http://localhost:8000/admin/">
          
          <h3>3D定制商品生产平台 - 后台管理系统</h3>
          
        </a>
      </h1>
      <nav class="navbar navbar-expand-sm" id="navbar-menu">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
          aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
        
<div class="navbar-nav">




<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/user/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-user"></i>
    </span>
    <span class="nav-link-title">用户管理</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/category/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-tags"></i>
    </span>
    <span class="nav-link-title">商品分类</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/product/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-box"></i>
    </span>
    <span class="nav-link-title">商品管理</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link active" href="http://localhost:8000/admin/order/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-shopping-cart"></i>
    </span>
    <span class="nav-link-title">订单管理</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/model3-d/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-cube"></i>
    </span>
    <span class="nav-link-title">3D模型管理</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/model3-d-upload/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-upload"></i>
    </span>
    <span class="nav-link-title">3D模型上传</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/manufacturer/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-industry"></i>
    </span>
    <span class="nav-link-title">厂商管理</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/production-job/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-cogs"></i>
    </span>
    <span class="nav-link-title">生产任务</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/production-stats/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-chart-bar"></i>
    </span>
    <span class="nav-link-title">生产统计</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/shopify-sync-log/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-sync"></i>
    </span>
    <span class="nav-link-title">Shopify同步日志</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/system-config/list">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-solid fa-gear"></i>
    </span>
    <span class="nav-link-title">系统配置</span>
  </a>
</li>







<li class="nav-item">
  <a class="nav-link " href="http://localhost:8000/admin/detailed-reports">
    <span class="nav-link-icon d-md-none d-lg-inline-block">
      <i class="fa-chart-bar"></i>
    </span>
    <span class="nav-link-title">数据统计报表</span>
  </a>
</li>
















</div>

        </div>
      </nav>
      
      <a href="http://localhost:8000/admin/logout" class="btn btn-secondary btn-icon">
        <i class="fa fa-sign-out"></i>
        <span>Logout</span>
      </a>
      
    </div>
  </aside>
  <div class="page-wrapper">
    <div class="container-fluid">
      <div class="page-header d-print-none">
        
        <div class="row align-items-center">
          <div class="col">
            <h2 class="page-title">订单管理</h2>
            <div class="page-pretitle"></div>
          </div>
        </div>
        
      </div>
    </div>
    <div class="page-body flex-grow-1">
      <div class="container-fluid">
        <div class="row row-deck row-cards">
          
<div class="col-12">
  <div class="card">
    <div class="card-header">
      <h3 class="card-title">
        id: 274</h3>
    </div>
    <div class="card-body border-bottom py-3">
      <div class="table-responsive">
        <table class="table card-table table-vcenter text-nowrap table-hover table-bordered">
          <thead>
            <tr>
              <th class="w-1">Column</th>
              <th class="w-1">Value</th>
            </tr>
          </thead>
          <tbody>
            
            
            <tr>
              <td>user</td>
              
              
              
              <td><a href="http://localhost:8000/admin/user/details/5">id=5 full_name=&#39;测试用户5&#39; phone=&#39;13800000005&#39; role=&lt;UserRole.CUSTOMER: &#39;customer&#39;&gt; avatar_url=None updated_at=datetime.datetime(2025, 10, 21, 2, 53, 4, 655179) username=&#39;user5&#39; email=&#39;user5@example.com&#39; hashed_password=&#39;$2b$12$fiMVUYTEgBjk7cCGFnTC9OrfgHh6D8iDWMUUY9KkpbMHdArASUsxS&#39; is_active=True created_at=datetime.datetime(2025, 10, 21, 2, 53, 4, 655092)</a></td>
              
              
            </tr>
            
            
            <tr>
              <td>product</td>
              
              
              
              <td><a href="http://localhost:8000/admin/product/details/10">name=&#39;装饰摆件-10&#39; description=&#39;这是一个精美的激光雕刻，可以根据您的需求进行个性化定制&#39; category_id=1 shopify_variant_id=None default_material=None is_active=True created_at=datetime.datetime(2025, 10, 21, 2, 53, 5, 249262) id=10 price=365.62 shopify_product_id=None template_3d_url=None available_materials=None stock_quantity=11 updated_at=datetime.datetime(2025, 10, 21, 2, 53, 5, 249339)</a></td>
              
              
            </tr>
            
            
            <tr>
              <td>model_3d</td>
              
              
              
              <td><a href="http://localhost:8000/admin/model3-d/details/136">product_id=10 storage_path=&#39;/models/装饰摆件-10_2.glb&#39; faces_count=None is_optimized=True generated_at=None id=136 status=&#39;pending&#39; dimensions=None optimized_at=None uploaded_at=None source_image_id=32 error_message=None bounding_box=None optimization_params=&#39;{&#34;level&#34;: &#34;high&#34;}&#39; model_file_url=&#39;https://example.com/models/装饰摆件-10_2.glb&#39; parameters=None shopify_asset_id=None optimization_time=None preview_image_url=None ai_model_used=None shopify_asset_url=None version=1 file_format=&#39;glb&#39; generation_time=None shopify_product_id=None parent_model_id=None file_size=6096884 model_metadata=None shopify_variant_id=None created_at=datetime.datetime(2025, 10, 23, 9, 17, 32, 67854) original_filename=&#39;装饰摆件-10_2.glb&#39; vertices_count=None shopify_metafield_id=None updated_at=datetime.datetime(2025, 10, 23, 9, 17, 32, 67890)</a></td>
              
              
            </tr>
            
            
            <tr>
              <td>production_jobs</td>
              
              
              
              <td>
              
              <a href="http://localhost:8000/admin/production-job/details/774">(quantity=3 labor_cost=None job_number=&#39;JOB-5051F87B&#39; priority=1 quality_check_passed=None id=774 estimated_completion_date=datetime.datetime(2025, 10, 29, 10, 31, 48, 813554) quality_notes=None order_id=274 actual_completion_date=None created_at=datetime.datetime(2025, 10, 24, 2, 31, 48, 813663) manufacturer_id=4 status=&lt;JobStatus.IN_PROGRESS: &#39;in_progress&#39;&gt; updated_at=datetime.datetime(2025, 10, 24, 2, 31, 48, 813718) production_file_url=&#39;https://example.com/models/装饰摆件-10_3.glb&#39; progress_percentage=0 assigned_at=None file_format=&#39;glb&#39; production_cost=None started_at=None material_specification=&#39;PLA环保材料&#39; material_cost=None completed_at=None)</a>
              
              </td>
              
              
            </tr>
            
            
            <tr>
              <td>id</td>
              
              
              <td>274</td>
              
            </tr>
            
            
            <tr>
              <td>order_number</td>
              
              
              <td>ORD-C4E85211</td>
              
            </tr>
            
            
            <tr>
              <td>user_id</td>
              
              
              <td>5</td>
              
            </tr>
            
            
            <tr>
              <td>product_id</td>
              
              
              <td>10</td>
              
            </tr>
            
            
            <tr>
              <td>model_3d_id</td>
              
              
              <td>136</td>
              
            </tr>
            
            
            <tr>
              <td>quantity</td>
              
              
              <td>3</td>
              
            </tr>
            
            
            <tr>
              <td>unit_price</td>
              
              
              <td>365.62</td>
              
            </tr>
            
            
            <tr>
              <td>total_amount</td>
              
              
              <td>1096.8600000000001</td>
              
            </tr>
            
            
            <tr>
              <td>custom_material</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>custom_size</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>custom_color</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>custom_params</td>
              
              
              <td>{&#34;text&#34;: &#34;定制文字44&#34;, &#34;color&#34;: &#34;green&#34;, &#34;size&#34;: &#34;small&#34;}</td>
              
            </tr>
            
            
            <tr>
              <td>status</td>
              
              
              <td>PENDING</td>
              
            </tr>
            
            
            <tr>
              <td>payment_status</td>
              
              
              <td>pending</td>
              
            </tr>
            
            
            <tr>
              <td>payment_method</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>shopify_order_id</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>shipping_address</td>
              
              
              <td>测试收货地址</td>
              
            </tr>
            
            
            <tr>
              <td>shipping_name</td>
              
              
              <td>测试用户5</td>
              
            </tr>
            
            
            <tr>
              <td>shipping_phone</td>
              
              
              <td>13800000005</td>
              
            </tr>
            
            
            <tr>
              <td>tracking_number</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>created_at</td>
              
              
              <td>2025-10-21 10:31:48.415655</td>
              
            </tr>
            
            
            <tr>
              <td>paid_at</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>shipped_at</td>
              
              
              <td></td>
              
            </tr>
            
            
            <tr>
              <td>delivered_at</td>
              
              
              <td></td>
              
            </tr>
            
          </tbody>
        </table>
      </div>
      <div class="card-footer container">
        <div class="row">
          <div class="col-md-1">
            <a href="http://localhost:8000/admin/order/list" class="btn">
              Go Back
            </a>
          </div>
          
          <div class="col-md-1">
            <a href="#" data-name="订单管理" data-pk="274" data-url="http://localhost:8000/admin/order/delete?pks=274" data-bs-toggle="modal" data-bs-target="#modal-delete" class="btn btn-danger">
              Delete
            </a>
          </div>
          
          
          <div class="col-md-1">
            <a href="http://localhost:8000/admin/order/edit/274" class="btn btn-primary">
              Edit
            </a>
          </div>
          
          
        </div>
      </div>
    </div>
  </div>
</div>

<div class="modal modal-blur fade" id="modal-delete" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog modal-sm modal-dialog-centered" role="document">
    <div class="modal-content">
      <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      <div class="modal-status bg-danger"></div>
      <div class="modal-body text-center py-4">
        <i class="text-danger fa-solid fa-triangle-exclamation fa-2x"></i>
        <h3>Please confirm</h3>
        <div id="modal-delete-text" class="text-muted"></div>
      </div>
      <div class="modal-footer">
        <div class="w-100">
          <div class="row">
            <div class="col">
              <a href="#" class="btn w-100" data-bs-dismiss="modal">
                Cancel
              </a>
            </div>
            <div class="col">
              <button id="modal-delete-button" data-url="" class="btn btn-danger w-100">
                Delete
              </button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>





        </div>
      </div>
    </div>
  </div>
</div>

    <script type="text/javascript" src="http://localhost:8000/admin/statics/js/jquery.min.js"></script>
    <script type="text/javascript" src="http://localhost:8000/admin/statics/js/tabler.min.js"></script>
    <script type="text/javascript" src="http://localhost:8000/admin/statics/js/popper.min.js"></script>
    <script type="text/javascript" src="http://localhost:8000/admin/statics/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="http://localhost:8000/admin/statics/js/select2.full.min.js"></script>
    <script type="text/javascript" src="http://localhost:8000/admin/statics/js/flatpickr.min.js"></script>
    <script type="text/javascript" src="http://localhost:8000/admin/statics/js/main.js"></script>
    
    
  </body>
</html>